export default {
  appDEFields: [
    {
      codeName: 'id',
      logicName: '标识',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'ID',
      id: 'id',
    },
    {
      codeName: 'name',
      logicName: '名称',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 200,
      enableQuickSearch: true,
      name: 'NAME',
      id: 'name',
    },
    {
      codeName: 'pid',
      logicName: '父标识',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'PID',
      id: 'pid',
    },
    {
      codeName: 'update_time',
      logicName: '更新时间',
      predefinedType: 'UPDATEDATE',
      stdDataType: 5,
      valueFormat: 'YYYY-MM-DD HH:mm:ss',
      name: 'UPDATE_TIME',
      id: 'update_time',
    },
    {
      codeName: 'update_man',
      logicName: '更新人',
      predefinedType: 'UPDATEMAN',
      stdDataType: 25,
      stringLength: 100,
      name: 'UPDATE_MAN',
      id: 'update_man',
    },
    {
      codeName: 'create_time',
      logicName: '建立时间',
      predefinedType: 'CREATEDATE',
      stdDataType: 5,
      valueFormat: 'YYYY-MM-DD HH:mm:ss',
      name: 'CREATE_TIME',
      id: 'create_time',
    },
    {
      codeName: 'create_man',
      logicName: '建立人',
      predefinedType: 'CREATEMAN',
      stdDataType: 25,
      stringLength: 100,
      name: 'CREATE_MAN',
      id: 'create_man',
    },
    {
      codeName: 'principal_id',
      logicName: '评论主体标识',
      predefinedType: 'PARENTID',
      stdDataType: 25,
      stringLength: 100,
      name: 'PRINCIPAL_ID',
      id: 'principal_id',
    },
    {
      codeName: 'principal_name',
      logicName: '评论主体名称',
      predefinedType: 'PARENTNAME',
      stdDataType: 25,
      stringLength: 100,
      name: 'PRINCIPAL_NAME',
      id: 'principal_name',
    },
    {
      codeName: 'owner_type',
      logicName: '所属数据对象',
      predefinedType: 'PARENTTYPE',
      stdDataType: 25,
      stringLength: 100,
      name: 'OWNER_TYPE',
      id: 'owner_type',
    },
    {
      codeName: 'principal_type',
      logicName: '评论主体类型',
      predefinedType: 'PARENTSUBTYPE',
      stdDataType: 25,
      stringLength: 100,
      name: 'PRINCIPAL_TYPE',
      id: 'principal_type',
    },
    {
      codeName: 'content',
      logicName: '内容',
      predefinedType: 'NONE',
      stdDataType: 21,
      stringLength: 1048576,
      name: 'CONTENT',
      id: 'content',
    },
    {
      codeName: 'pcontent',
      logicName: '父内容',
      predefinedType: 'NONE',
      stdDataType: 21,
      stringLength: 1048576,
      name: 'PCONTENT',
      id: 'pcontent',
    },
    {
      codeName: 'pcreate_man',
      logicName: '父建立人',
      predefinedType: 'NONE',
      stdDataType: 25,
      stringLength: 100,
      name: 'PCREATE_MAN',
      id: 'pcreate_man',
    },
    {
      codeName: 'is_top',
      logicName: '是否置顶',
      predefinedType: 'NONE',
      stdDataType: 9,
      name: 'IS_TOP',
      id: 'is_top',
    },
  ],
  appDEMethodDTOs: [
    {
      codeName: 'comment_dto',
      appDEMethodDTOFields: [
        {
          codeName: 'id',
          logicName: '标识',
          appDEFieldId: 'id',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          id: 'id',
        },
        {
          codeName: 'name',
          logicName: '名称',
          appDEFieldId: 'name',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'name',
        },
        {
          codeName: 'pid',
          logicName: '父标识',
          appDEFieldId: 'pid',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'pid',
        },
        {
          codeName: 'update_time',
          jsonFormat: 'yyyy-MM-dd HH:mm:ss',
          logicName: '更新时间',
          appDEFieldId: 'update_time',
          sourceType: 'DEFIELD',
          stdDataType: 5,
          type: 'SIMPLE',
          id: 'update_time',
        },
        {
          codeName: 'update_man',
          logicName: '更新人',
          appDEFieldId: 'update_man',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          id: 'update_man',
        },
        {
          codeName: 'create_time',
          jsonFormat: 'yyyy-MM-dd HH:mm:ss',
          logicName: '建立时间',
          appDEFieldId: 'create_time',
          sourceType: 'DEFIELD',
          stdDataType: 5,
          type: 'SIMPLE',
          id: 'create_time',
        },
        {
          codeName: 'create_man',
          logicName: '建立人',
          appDEFieldId: 'create_man',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          id: 'create_man',
        },
        {
          codeName: 'principal_id',
          logicName: '评论主体标识',
          appDEFieldId: 'principal_id',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'principal_id',
        },
        {
          codeName: 'principal_name',
          logicName: '评论主体名称',
          appDEFieldId: 'principal_name',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'principal_name',
        },
        {
          codeName: 'owner_type',
          logicName: '所属数据对象',
          appDEFieldId: 'owner_type',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'owner_type',
        },
        {
          codeName: 'principal_type',
          logicName: '评论主体类型',
          appDEFieldId: 'principal_type',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'principal_type',
        },
        {
          codeName: 'content',
          logicName: '内容',
          appDEFieldId: 'content',
          sourceType: 'DEFIELD',
          stdDataType: 21,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'content',
        },
        {
          codeName: 'pcontent',
          logicName: '父内容',
          appDEFieldId: 'pcontent',
          sourceType: 'DEFIELD',
          stdDataType: 21,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'pcontent',
        },
        {
          codeName: 'pcreate_man',
          logicName: '父建立人',
          appDEFieldId: 'pcreate_man',
          sourceType: 'DEFIELD',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'pcreate_man',
        },
        {
          codeName: 'is_top',
          logicName: '是否置顶',
          appDEFieldId: 'is_top',
          sourceType: 'DEFIELD',
          stdDataType: 9,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'is_top',
        },
      ],
      sourceType: 'DE',
      type: 'DEFAULT',
      id: 'comment_dto',
    },
    {
      codeName: 'comment_filter_dto',
      appDEMethodDTOFields: [
        {
          codeName: 'n_id_eq',
          logicName: '标识',
          appDEFieldId: 'id',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'n_id_eq',
        },
        {
          codeName: 'n_name_like',
          logicName: '名称',
          appDEFieldId: 'name',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'n_name_like',
        },
        {
          codeName: 'n_pid_eq',
          logicName: '父标识',
          appDEFieldId: 'pid',
          sourceType: 'DEFSEARCHMODE',
          stdDataType: 25,
          type: 'SIMPLE',
          allowEmpty: true,
          id: 'n_pid_eq',
        },
      ],
      sourceType: 'DE',
      type: 'DEFILTER',
      id: 'comment_filter_dto',
    },
  ],
  appDEMethods: [
    {
      codeName: 'check_key',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        stdDataType: 9,
        type: 'SIMPLE',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/check_key',
      actionMode: 'CHECKKEY',
      actionTag: 'CheckKey',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'CheckKey',
      id: 'check_key',
    },
    {
      codeName: 'create',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        output: true,
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      noServiceCodeName: true,
      actionMode: 'CREATE',
      actionTag: 'Create',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'Create',
      id: 'create',
    },
    {
      codeName: 'delete',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        type: 'VOID',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/delete',
      needResourceKey: true,
      actionMode: 'CUSTOM',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      id: 'delete',
    },
    {
      codeName: 'get',
      methodType: 'DEACTION',
      appDEMethodInput: {
        keyAppDEFieldId: 'id',
        type: 'KEYFIELD',
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '返回对象',
      },
      requestField: 'ID',
      requestMethod: 'GET',
      requestParamType: 'FIELD',
      needResourceKey: true,
      noServiceCodeName: true,
      actionMode: 'READ',
      actionTag: 'Get',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'Get',
      id: 'get',
    },
    {
      codeName: 'get_draft',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '返回对象',
      },
      requestMethod: 'GET',
      requestParamType: 'NONE',
      requestPath: '/get_draft',
      actionMode: 'GETDRAFT',
      actionTag: 'GetDraft',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'GetDraft',
      id: 'get_draft',
    },
    {
      codeName: 'no_top',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        type: 'VOID',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/no_top',
      needResourceKey: true,
      actionMode: 'CUSTOM',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      id: 'no_top',
    },
    {
      codeName: 'remove',
      methodType: 'DEACTION',
      appDEMethodInput: {
        keyAppDEFieldId: 'id',
        type: 'KEYFIELDS',
        id: '输入对象',
      },
      appDEMethodReturn: {
        type: 'VOID',
        id: '返回对象',
      },
      requestField: 'ID',
      requestMethod: 'DELETE',
      requestParamType: 'FIELD',
      needResourceKey: true,
      noServiceCodeName: true,
      actionMode: 'DELETE',
      actionTag: 'Remove',
      actionType: 'REMOTE',
      batchActionMode: 1,
      enableBatchAction: true,
      dataSetType: 'REMOTE',
      name: 'Remove',
      id: 'remove',
    },
    {
      codeName: 'save',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        output: true,
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/save',
      actionMode: 'SAVE',
      actionTag: 'Save',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'Save',
      id: 'save',
    },
    {
      codeName: 'top',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        type: 'VOID',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/top',
      needResourceKey: true,
      actionMode: 'CUSTOM',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      id: 'top',
    },
    {
      codeName: 'update',
      methodType: 'DEACTION',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        output: true,
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'comment_dto',
        type: 'DTO',
        id: '返回对象',
      },
      requestMethod: 'PUT',
      requestParamType: 'ENTITY',
      needResourceKey: true,
      noServiceCodeName: true,
      actionMode: 'UPDATE',
      actionTag: 'Update',
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'Update',
      id: 'update',
    },
    {
      codeName: 'fetch_default',
      methodType: 'FETCH',
      appDEMethodInput: {
        appDEMethodDTOId: 'comment_filter_dto',
        type: 'DTO',
        id: '输入对象',
      },
      appDEMethodReturn: {
        appDEMethodDTOId: 'comment_dto',
        type: 'PAGE',
        id: '返回对象',
      },
      requestMethod: 'POST',
      requestParamType: 'ENTITY',
      requestPath: '/fetch_default',
      actionType: 'REMOTE',
      dataSetName: 'DEFAULT',
      dataSetTag: 'Default',
      dataSetType: 'REMOTE',
      id: 'fetch_default',
    },
    {
      codeName: 'FilterCreate',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERCREATE',
      id: 'filtercreate',
    },
    {
      codeName: 'FilterFetch',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERFETCH',
      id: 'filterfetch',
    },
    {
      codeName: 'FilterGet',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERGET',
      id: 'filterget',
    },
    {
      codeName: 'FilterGetDraft',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERGETDRAFT',
      id: 'filtergetdraft',
    },
    {
      codeName: 'FilterRemove',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERREMOVE',
      id: 'filterremove',
    },
    {
      codeName: 'FilterSearch',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERSEARCH',
      id: 'filtersearch',
    },
    {
      codeName: 'FilterUpdate',
      methodType: 'FILTERACTION',
      builtinMethod: true,
      actionType: 'REMOTE',
      dataSetType: 'REMOTE',
      name: 'FILTERUPDATE',
      id: 'filterupdate',
    },
  ],
  appDEUIActions: [
    {
      actionLevel: 100,
      actionTarget: 'NONE',
      buttonStyle: 'DEFAULT',
      caption: '清空',
      codeName: 'clear_comment',
      frontProcessType: 'OTHER',
      fullCodeName: 'comment_clear_comment',
      scriptCode: "console.log('清空评论')",
      uiactionMode: 'FRONT',
      uiactionTag: 'clear_comment',
      uiactionType: 'DEUIACTION',
      uilogicAttachMode: 'REPLACE',
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDEUILogicId: 'clear_comment',
      appDataEntityId: 'web.comment',
      name: '清空评论',
      id: 'clear_comment@comment',
    },
    {
      actionLevel: 100,
      actionTarget: 'SINGLEKEY',
      buttonStyle: 'DEFAULT',
      caption: '删除评论',
      codeName: 'del_comment',
      confirmMsg: '确认删除该评论？',
      fullCodeName: 'comment_del_comment',
      appDEMethodId: 'delete',
      refreshMode: 1,
      successMsg: '删除成功',
      timeout: 60000,
      uiactionMode: 'BACKEND',
      uiactionTag: 'del_comment',
      uiactionType: 'DEUIACTION',
      uilogicAttachMode: 'AFTER',
      enableConfirm: true,
      reloadData: true,
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDEUILogicId: 'refresh_comment',
      appDataEntityId: 'web.comment',
      name: '删除评论',
      id: 'del_comment@comment',
    },
    {
      actionLevel: 100,
      actionTarget: 'SINGLEKEY',
      buttonStyle: 'DEFAULT',
      caption: '取消置顶',
      codeName: 'no_top',
      fullCodeName: 'comment_no_top',
      appDEMethodId: 'no_top',
      refreshMode: 1,
      timeout: 60000,
      uiactionMode: 'BACKEND',
      uiactionTag: 'no_top',
      uiactionType: 'DEUIACTION',
      enableConfirm: true,
      reloadData: true,
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDataEntityId: 'web.comment',
      name: '取消置顶',
      id: 'no_top@comment',
    },
    {
      actionLevel: 100,
      actionTarget: 'SINGLEDATA',
      buttonStyle: 'DEFAULT',
      caption: '编辑',
      codeName: 'panel_usr0103471499_button_calluilogic1_click',
      frontProcessType: 'OTHER',
      fullCodeName: 'comment_panel_usr0103471499_button_calluilogic1_click',
      uiactionMode: 'FRONT',
      uiactionTag: 'panel_usr0103471499_button_calluilogic1_click',
      uiactionType: 'DEUIACTION',
      uilogicAttachMode: 'REPLACE',
      uilogicType: 'DELOGIC',
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDEUILogicId: 'edit_comment',
      appDataEntityId: 'web.comment',
      name: '编辑',
      id: 'panel_usr0103471499_button_calluilogic1_click@comment',
    },
    {
      actionLevel: 100,
      actionTarget: 'SINGLEDATA',
      buttonStyle: 'DEFAULT',
      caption: '回复',
      codeName: 'panel_usr0103471499_button_calluilogic2_click',
      frontProcessType: 'OTHER',
      fullCodeName: 'comment_panel_usr0103471499_button_calluilogic2_click',
      uiactionMode: 'FRONT',
      uiactionTag: 'panel_usr0103471499_button_calluilogic2_click',
      uiactionType: 'DEUIACTION',
      uilogicAttachMode: 'REPLACE',
      uilogicType: 'DELOGIC',
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDEUILogicId: 'reply_comment',
      appDataEntityId: 'web.comment',
      name: '回复',
      id: 'panel_usr0103471499_button_calluilogic2_click@comment',
    },
    {
      actionLevel: 100,
      actionTarget: 'NONE',
      buttonStyle: 'DEFAULT',
      caption: '发送评论',
      codeName: 'send_comment',
      frontProcessType: 'OTHER',
      fullCodeName: 'comment_send_comment',
      refreshMode: 1,
      uiactionMode: 'FRONT',
      uiactionTag: 'send_comment',
      uiactionType: 'DEUIACTION',
      uilogicAttachMode: 'REPLACE',
      reloadData: true,
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDEUILogicId: 'send_comment',
      appDataEntityId: 'web.comment',
      name: '发送评论',
      id: 'send_comment@comment',
    },
    {
      actionLevel: 100,
      actionTarget: 'SINGLEKEY',
      buttonStyle: 'DEFAULT',
      caption: '置顶',
      codeName: 'top',
      fullCodeName: 'comment_top',
      appDEMethodId: 'top',
      refreshMode: 1,
      timeout: 60000,
      uiactionMode: 'BACKEND',
      uiactionTag: 'top',
      uiactionType: 'DEUIACTION',
      enableConfirm: true,
      reloadData: true,
      showBusyIndicator: true,
      noPrivDisplayMode: 2,
      appDataEntityId: 'web.comment',
      name: '评论置顶',
      id: 'top@comment',
    },
  ],
  appDEUILogics: [
    {
      codeName: 'clear_comment',
      defaultParamName: 'Default',
      logicName: '清空评论',
      deuilogicNodes: [
        {
          codeName: 'Begin',
          leftPos: 230,
          logicNodeType: 'BEGIN',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'rawjscode1',
              srcDEUILogicNodeId: 'begin',
              id: '连接名称',
            },
          ],
          topPos: 260,
          name: '开始',
          id: 'begin',
        },
        {
          code: 'uiLogic.view.layoutPanel.panelItems.field_textbox.editor.clear();\r\nuiLogic.view.edit_comment_id = null;\r\nuiLogic.view.reply_comment_id = null;',
          codeName: 'RAWJSCODE1',
          leftPos: 190,
          logicNodeType: 'RAWJSCODE',
          topPos: 470,
          name: '清空评论',
          id: 'rawjscode1',
        },
      ],
      deuilogicParams: [
        {
          codeName: 'Default',
          default: true,
          entityParam: true,
          name: '传入变量',
          id: 'default',
        },
        {
          codeName: 'view',
          activeViewParam: true,
          name: '当前视图对象',
          id: 'view',
        },
      ],
      startDEUILogicNodeId: 'begin',
      name: '清空评论',
      id: 'clear_comment',
    },
    {
      codeName: 'comment_icon_hidden',
      defaultParamName: 'Default',
      logicName: '控制评论按钮隐藏',
      deuilogicNodes: [
        {
          codeName: 'Begin',
          leftPos: -30,
          logicNodeType: 'BEGIN',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam1',
              srcDEUILogicNodeId: 'begin',
              id: '连接名称',
            },
          ],
          parallelOutput: true,
          name: '开始',
          id: 'begin',
        },
        {
          codeName: 'PREPAREJSPARAM1',
          leftPos: 260,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam2',
              srcDEUILogicNodeId: 'preparejsparam1',
              id: '连接名称',
            },
          ],
          deuilogicNodeParams: [
            {
              dstDEUILogicParamId: 'send',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.comment_send.state',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.comment_send.state] ==> send',
              id: 'view[layoutpanel.panelitems.comment_send.state] ==> send',
            },
            {
              dstDEUILogicParamId: 'reset',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.comment_cancel.state',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.comment_cancel.state] ==> reset',
              id: 'view[layoutpanel.panelitems.comment_cancel.state] ==> reset',
            },
            {
              dstDEUILogicParamId: 'icon',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.comment_icon.state',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.comment_icon.state] ==> icon',
              id: 'view[layoutpanel.panelitems.comment_icon.state] ==> icon',
            },
          ],
          topPos: 8,
          name: '获取部件状态信息',
          id: 'preparejsparam1',
        },
        {
          codeName: 'PREPAREJSPARAM2',
          leftPos: 500,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicNodeParams: [
            {
              dstFieldName: 'visible',
              dstDEUILogicParamId: 'send',
              expression: 'view.layoutPanel.panelItems.field_textbox.value',
              paramAction: 'SETPARAMVALUE',
              srcFieldName:
                'layoutPanel.panelItems.field_textbox.value?true:false',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.field_textbox.value?true:false] ==> send[visible]',
              id: 'view[layoutpanel.panelitems.field_textbox.value?true:false] ==> send[visible]',
            },
            {
              dstFieldName: 'visible',
              dstDEUILogicParamId: 'reset',
              expression: 'view.layoutPanel.panelItems.field_textbox.value',
              paramAction: 'SETPARAMVALUE',
              srcFieldName:
                'layoutPanel.panelItems.field_textbox.value?true:false',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.field_textbox.value?true:false] ==> reset[visible]',
              id: 'view[layoutpanel.panelitems.field_textbox.value?true:false] ==> reset[visible]',
            },
            {
              dstFieldName: 'visible',
              dstDEUILogicParamId: 'icon',
              expression: '!view.layoutPanel.panelItems.field_textbox.value',
              paramAction: 'SETPARAMVALUE',
              srcFieldName:
                'layoutPanel.panelItems.field_textbox.value?false:true',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.field_textbox.value?false:true] ==> icon[visible]',
              id: 'view[layoutpanel.panelitems.field_textbox.value?false:true] ==> icon[visible]',
            },
          ],
          topPos: 8,
          name: '控制部件显示隐藏',
          id: 'preparejsparam2',
        },
      ],
      deuilogicParams: [
        {
          codeName: 'view',
          activeViewParam: true,
          name: '视图',
          id: 'view',
        },
        {
          codeName: 'send',
          entityParam: true,
          name: '评论',
          id: 'send',
        },
        {
          codeName: 'icon',
          entityParam: true,
          name: '图标',
          id: 'icon',
        },
        {
          codeName: 'reset',
          entityParam: true,
          name: '清空',
          id: 'reset',
        },
        {
          codeName: 'Default',
          default: true,
          entityParam: true,
          name: '传入变量',
          id: 'default',
        },
      ],
      startDEUILogicNodeId: 'begin',
      name: '控制评论按钮隐藏',
      id: 'comment_icon_hidden',
    },
    {
      codeName: 'comment_icon_show',
      defaultParamName: 'Default',
      logicName: '控制评论按钮显示',
      deuilogicNodes: [
        {
          codeName: 'Begin',
          leftPos: 140,
          logicNodeType: 'BEGIN',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam1',
              srcDEUILogicNodeId: 'begin',
              id: '连接名称',
            },
          ],
          topPos: 200,
          parallelOutput: true,
          name: '开始',
          id: 'begin',
        },
        {
          codeName: 'PREPAREJSPARAM1',
          leftPos: 378,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam2',
              srcDEUILogicNodeId: 'preparejsparam1',
              id: '连接名称',
            },
          ],
          deuilogicNodeParams: [
            {
              dstDEUILogicParamId: 'send',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.comment_send.state',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.comment_send.state] ==> send',
              id: 'view[layoutpanel.panelitems.comment_send.state] ==> send',
            },
            {
              dstDEUILogicParamId: 'reset',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.comment_cancel.state',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.comment_cancel.state] ==> reset',
              id: 'view[layoutpanel.panelitems.comment_cancel.state] ==> reset',
            },
            {
              dstDEUILogicParamId: 'icon',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.comment_icon.state',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.comment_icon.state] ==> icon',
              id: 'view[layoutpanel.panelitems.comment_icon.state] ==> icon',
            },
          ],
          topPos: 208,
          name: '获取部件状态信息',
          id: 'preparejsparam1',
        },
        {
          codeName: 'PREPAREJSPARAM2',
          leftPos: 582,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicNodeParams: [
            {
              dstFieldName: 'visible',
              dstDEUILogicParamId: 'send',
              paramAction: 'SETPARAMVALUE',
              srcValue: 'true',
              srcValueType: 'SRCVALUE',
              id: '直接值[true] ==> send[visible]',
            },
            {
              dstFieldName: 'visible',
              dstDEUILogicParamId: 'reset',
              paramAction: 'SETPARAMVALUE',
              srcValue: 'true',
              srcValueType: 'SRCVALUE',
              id: '直接值[true] ==> reset[visible]',
            },
            {
              dstFieldName: 'visible',
              dstDEUILogicParamId: 'icon',
              paramAction: 'SETPARAMVALUE',
              srcValue: 'false',
              srcValueType: 'SRCVALUE',
              id: '直接值[false] ==> icon[visible]',
            },
          ],
          topPos: 208,
          name: '控制部件显示隐藏',
          id: 'preparejsparam2',
        },
      ],
      deuilogicParams: [
        {
          codeName: 'Default',
          default: true,
          entityParam: true,
          name: '传入变量',
          id: 'default',
        },
        {
          codeName: 'view',
          activeViewParam: true,
          name: '视图',
          id: 'view',
        },
        {
          codeName: 'send',
          entityParam: true,
          name: '评论',
          id: 'send',
        },
        {
          codeName: 'reset',
          entityParam: true,
          name: '清空',
          id: 'reset',
        },
        {
          codeName: 'icon',
          entityParam: true,
          name: '图标',
          id: 'icon',
        },
      ],
      startDEUILogicNodeId: 'begin',
      name: '控制评论按钮显示',
      id: 'comment_icon_show',
    },
    {
      codeName: 'edit_comment',
      defaultParamName: 'Default',
      logicName: '编辑评论',
      deuilogicNodes: [
        {
          codeName: 'Begin',
          leftPos: 200,
          logicNodeType: 'BEGIN',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam1',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'ISNOTNULL',
                    dstFieldName: 'content',
                    dstLogicParamId: 'default',
                    logicType: 'SINGLE',
                    name: 'Default[content] 值不为空(NotNil)',
                    id: 'default[content] 值不为空(notnil)',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'begin',
              id: '无评论内容时不执行',
            },
          ],
          topPos: 200,
          name: '开始',
          id: 'begin',
        },
        {
          codeName: 'PREPAREJSPARAM1',
          leftPos: 160,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'rawjscode1',
              srcDEUILogicNodeId: 'preparejsparam1',
              id: '连接名称',
            },
          ],
          deuilogicNodeParams: [
            {
              dstDEUILogicParamId: 'parentview',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'parentView',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[parentView] ==> parentView',
              id: 'view[parentview] ==> parentview',
            },
            {
              dstFieldName: 'reply_comment_id',
              dstDEUILogicParamId: 'parentview',
              paramAction: 'SETPARAMVALUE',
              srcValueType: 'NULLVALUE',
              name: '空值（NULL） ==> parentView[reply_comment_id]',
              id: '空值（null） ==> parentview[reply_comment_id]',
            },
            {
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.field_textbox.editor',
              srcDEUILogicParamId: 'parentview',
              srcValueType: 'SRCDLPARAM',
              name: 'parentView[layoutPanel.panelItems.field_textbox.editor] ==> comment',
              id: 'parentview[layoutpanel.panelitems.field_textbox.editor] ==> comment',
            },
            {
              dstFieldName: 'edit_comment_id',
              dstDEUILogicParamId: 'parentview',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'id',
              srcDEUILogicParamId: 'default',
              srcValueType: 'SRCDLPARAM',
              name: 'Default[id] ==> parentView[edit_comment_id]',
              id: 'default[id] ==> parentview[edit_comment_id]',
            },
          ],
          topPos: 340,
          name: '设置评论id',
          id: 'preparejsparam1',
        },
        {
          code: 'uiLogic.comment.toggleCollapse(true);\r\nuiLogic.comment.setValue(uiLogic.default.content);\r\nuiLogic.comment.reply.value = null;',
          codeName: 'RAWJSCODE1',
          leftPos: 160,
          logicNodeType: 'RAWJSCODE',
          topPos: 480,
          name: '展开评论输入框并设值',
          id: 'rawjscode1',
        },
      ],
      deuilogicParams: [
        {
          codeName: 'comment',
          entityParam: true,
          name: '评论对象',
          id: 'comment',
        },
        {
          codeName: 'Default',
          default: true,
          entityParam: true,
          name: '传入变量',
          id: 'default',
        },
        {
          codeName: 'parentView',
          entityParam: true,
          name: '父视图对象',
          id: 'parentview',
        },
        {
          codeName: 'view',
          activeViewParam: true,
          name: '当前视图对象',
          id: 'view',
        },
        {
          codeName: 'comment_id',
          entityParam: true,
          name: '评论id存储对象',
          id: 'comment_id',
        },
      ],
      startDEUILogicNodeId: 'begin',
      name: '编辑评论',
      id: 'edit_comment',
    },
    {
      codeName: 'refresh_comment',
      defaultParamName: 'Default',
      logicName: '刷新评论列表',
      deuilogicNodes: [
        {
          codeName: 'Begin',
          leftPos: 310,
          logicNodeType: 'BEGIN',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam1',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'EQ',
                    dstFieldName: 'principal_type',
                    dstLogicParamId: 'ctx',
                    paramValue: 'discuss_post',
                    value: 'discuss_post',
                    logicType: 'SINGLE',
                    id: 'ctx[principal_type] 等于(=) discuss_post',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'begin',
              id: '连接名称',
            },
          ],
          topPos: 200,
          parallelOutput: true,
          name: '开始',
          id: 'begin',
        },
        {
          code: "ibiz.hub.getApp(context.srfappid).deService.exec(\r\n'plmmob.comment',\r\n'Update',\r\ncontext,\r\nuiLogic.Default,\r\n);",
          codeName: 'RAWJSCODE1',
          leftPos: 868,
          logicNodeType: 'RAWJSCODE',
          topPos: 208,
          name: '注入脚本代码',
          id: 'rawjscode1',
        },
        {
          codeName: 'PREPAREJSPARAM1',
          leftPos: 620,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'rawjscode1',
              srcDEUILogicNodeId: 'preparejsparam1',
              id: '连接名称',
            },
          ],
          deuilogicNodeParams: [
            {
              dstFieldName: 'CONTENT',
              dstDEUILogicParamId: 'default',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'c',
              srcValue: '<p><del>该评论已删除</del></p>',
              srcValueType: 'SRCVALUE',
              name: '直接值[<p><del>该评论已删除</del>...] ==> Default[CONTENT]',
              id: 'del>...] ==> default[content]',
            },
          ],
          topPos: 208,
          parallelOutput: true,
          name: '准备参数',
          id: 'preparejsparam1',
        },
      ],
      deuilogicParams: [
        {
          codeName: 'Default',
          default: true,
          entityParam: true,
          name: '传入变量',
          id: 'default',
        },
        {
          codeName: 'ctx',
          navContextParam: true,
          id: 'ctx',
        },
      ],
      startDEUILogicNodeId: 'begin',
      name: '刷新评论列表',
      id: 'refresh_comment',
    },
    {
      codeName: 'reply_comment',
      defaultParamName: 'Default',
      logicName: '回复评论',
      deuilogicNodes: [
        {
          codeName: 'Begin',
          leftPos: 200,
          logicNodeType: 'BEGIN',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam1',
              srcDEUILogicNodeId: 'begin',
              id: '连接名称',
            },
          ],
          topPos: 200,
          name: '开始',
          id: 'begin',
        },
        {
          code: "const _app = ibiz.hub.getApp(context.srfappid);\r\n_app.codeList.get('SysOperator', context, params).then(items => {\r\n\tconst create_man = uiLogic.default.create_man;\r\n\tconst findItem = items.find(item => item.value == create_man);\r\n\tconst name = findItem ? findItem.text : create_man;\r\n\tconst content = uiLogic.default.content;\r\n\tuiLogic.comment.setReply({name, content});\r\n\tuiLogic.comment.toggleCollapse(true);\r\n})",
          codeName: 'RAWJSCODE1',
          leftPos: 160,
          logicNodeType: 'RAWJSCODE',
          topPos: 500,
          name: '展开评论输入框并设值回复',
          id: 'rawjscode1',
        },
        {
          codeName: 'PREPAREJSPARAM1',
          leftPos: 160,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'rawjscode1',
              srcDEUILogicNodeId: 'preparejsparam1',
              id: '连接名称',
            },
          ],
          deuilogicNodeParams: [
            {
              dstDEUILogicParamId: 'parentview',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'parentView',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[parentView] ==> parentView',
              id: 'view[parentview] ==> parentview',
            },
            {
              dstFieldName: 'edit_comment_id',
              dstDEUILogicParamId: 'parentview',
              paramAction: 'SETPARAMVALUE',
              srcValueType: 'NULLVALUE',
              name: '空值（NULL） ==> parentView[edit_comment_id]',
              id: '空值（null） ==> parentview[edit_comment_id]',
            },
            {
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.field_textbox.editor',
              srcDEUILogicParamId: 'parentview',
              srcValueType: 'SRCDLPARAM',
              name: 'parentView[layoutPanel.panelItems.field_textbox.editor] ==> comment',
              id: 'parentview[layoutpanel.panelitems.field_textbox.editor] ==> comment',
            },
            {
              dstFieldName: 'reply_comment_id',
              dstDEUILogicParamId: 'parentview',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'id',
              srcDEUILogicParamId: 'default',
              srcValueType: 'SRCDLPARAM',
              name: 'Default[id] ==> parentView[reply_comment_id]',
              id: 'default[id] ==> parentview[reply_comment_id]',
            },
          ],
          topPos: 374,
          name: '设置回复id',
          id: 'preparejsparam1',
        },
      ],
      deuilogicParams: [
        {
          codeName: 'comment',
          entityParam: true,
          name: '评论对象',
          id: 'comment',
        },
        {
          codeName: 'view',
          activeViewParam: true,
          name: '当前视图对象',
          id: 'view',
        },
        {
          codeName: 'Default',
          default: true,
          entityParam: true,
          name: '传入变量',
          id: 'default',
        },
        {
          codeName: 'parentView',
          entityParam: true,
          name: '父视图对象',
          id: 'parentview',
        },
      ],
      startDEUILogicNodeId: 'begin',
      name: '回复评论',
      id: 'reply_comment',
    },
    {
      codeName: 'send_comment',
      defaultParamName: 'Default',
      logicName: '发送评论',
      deuilogicNodes: [
        {
          codeName: 'Begin',
          leftPos: 476,
          logicNodeType: 'BEGIN',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'rawjscode1',
              srcDEUILogicNodeId: 'begin',
              id: '连接名称',
            },
          ],
          topPos: -160,
          name: '开始',
          id: 'begin',
        },
        {
          codeName: 'END1',
          leftPos: 476,
          logicNodeType: 'END',
          topPos: 1090,
          name: '结束',
          id: 'end1',
        },
        {
          codeName: 'PREPAREJSPARAM2',
          leftPos: 596,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'deaction2',
              srcDEUILogicNodeId: 'preparejsparam2',
              id: '连接名称',
            },
          ],
          deuilogicNodeParams: [
            {
              dstFieldName: 'pid',
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'reply_comment_id',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              id: 'view[reply_comment_id] ==> comment[pid]',
            },
          ],
          topPos: 550,
          name: '回复标识',
          id: 'preparejsparam2',
        },
        {
          dstAppDEActionId: 'update',
          dstAppDataEntityId: 'web.comment',
          codeName: 'DEACTION3',
          dstDEUILogicParamId: 'comment',
          leftPos: 300,
          logicNodeType: 'DEACTION',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'rawjscode2',
              srcDEUILogicNodeId: 'deaction3',
              id: '连接名称',
            },
          ],
          topPos: 830,
          name: '修改评论',
          id: 'deaction3',
        },
        {
          codeName: 'PREPAREJSPARAM1',
          leftPos: 436,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam6',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'ISNOTNULL',
                    dstFieldName: 'srfowner_type',
                    dstLogicParamId: 'ctx',
                    logicType: 'SINGLE',
                    name: 'ctx[srfowner_type] 值不为空(NotNil)',
                    id: 'ctx[srfowner_type] 值不为空(notnil)',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'preparejsparam1',
              id: '视图上下文中存在srfowner_type参数',
            },
            {
              dstDEUILogicNodeId: 'preparejsparam5',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'ISNULL',
                    dstFieldName: 'srfowner_type',
                    dstLogicParamId: 'ctx',
                    logicType: 'SINGLE',
                    name: 'ctx[srfowner_type] 值为空(Nil)',
                    id: 'ctx[srfowner_type] 值为空(nil)',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'preparejsparam1',
              id: '视图上下文不存在srfowner_type参数',
            },
          ],
          deuilogicNodeParams: [
            {
              dstFieldName: 'principal_id',
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'principal_id',
              srcDEUILogicParamId: 'ctx',
              srcValueType: 'SRCDLPARAM',
              id: 'ctx[principal_id] ==> comment[principal_id]',
            },
            {
              dstFieldName: 'principal_type',
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'principal_type',
              srcDEUILogicParamId: 'ctx',
              srcValueType: 'SRCDLPARAM',
              id: 'ctx[principal_type] ==> comment[principal_type]',
            },
            {
              dstDEUILogicParamId: 'editor',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'layoutPanel.panelItems.field_textbox.editor',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              name: 'view[layoutPanel.panelItems.field_textbox.editor] ==> editor',
              id: 'view[layoutpanel.panelitems.field_textbox.editor] ==> editor',
            },
            {
              dstFieldName: 'owner_type',
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'principal_type',
              srcDEUILogicParamId: 'ctx',
              srcValueType: 'SRCDLPARAM',
              id: 'ctx[principal_type] ==> comment[owner_type]',
            },
          ],
          topPos: 190,
          name: '设置评论principal_id与principal_type',
          id: 'preparejsparam1',
        },
        {
          codeName: 'PREPAREJSPARAM5',
          leftPos: 436,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam4',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'ISNULL',
                    dstFieldName: 'reply.value',
                    dstLogicParamId: 'editor',
                    logicType: 'SINGLE',
                    name: 'editor[reply.value] 值为空(Nil)',
                    id: 'editor[reply.value] 值为空(nil)',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'preparejsparam5',
              id: '不存在回复评论标识',
            },
            {
              dstDEUILogicNodeId: 'preparejsparam2',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'ISNOTNULL',
                    dstFieldName: 'reply.value',
                    dstLogicParamId: 'editor',
                    logicType: 'SINGLE',
                    name: 'editor[reply.value] 值不为空(NotNil)',
                    id: 'editor[reply.value] 值不为空(notnil)',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'preparejsparam5',
              id: '存在回复评论标识',
            },
          ],
          topPos: 380,
          name: '无操作（仅用于连接）',
          id: 'preparejsparam5',
        },
        {
          code: 'uiLogic.comment.content = uiLogic.view.layoutPanel.panelItems.field_textbox.value;',
          codeName: 'RAWJSCODE1',
          leftPos: 436,
          logicNodeType: 'RAWJSCODE',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam1',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'ISNOTNULL',
                    dstFieldName: 'content',
                    dstLogicParamId: 'comment',
                    logicType: 'SINGLE',
                    name: 'comment[content] 值不为空(NotNil)',
                    id: 'comment[content] 值不为空(notnil)',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'rawjscode1',
              id: '评论内容不为空',
            },
          ],
          name: '获取评论框内容',
          id: 'rawjscode1',
        },
        {
          codeName: 'PREPAREJSPARAM3',
          leftPos: 300,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'deaction3',
              srcDEUILogicNodeId: 'preparejsparam3',
              id: '连接名称',
            },
          ],
          deuilogicNodeParams: [
            {
              dstFieldName: 'id',
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'edit_comment_id',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              id: 'view[edit_comment_id] ==> comment[id]',
            },
            {
              dstFieldName: 'comment',
              dstDEUILogicParamId: 'ctx',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'edit_comment_id',
              srcDEUILogicParamId: 'view',
              srcValueType: 'SRCDLPARAM',
              id: 'view[edit_comment_id] ==> ctx[comment]',
            },
          ],
          topPos: 720,
          name: '设置评论id',
          id: 'preparejsparam3',
        },
        {
          dstAppDEActionId: 'create',
          dstAppDataEntityId: 'web.comment',
          codeName: 'DEACTION2',
          dstDEUILogicParamId: 'comment',
          leftPos: 596,
          logicNodeType: 'DEACTION',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'rawjscode2',
              srcDEUILogicNodeId: 'deaction2',
              id: '连接名称',
            },
          ],
          topPos: 720,
          name: '创建评论',
          id: 'deaction2',
        },
        {
          codeName: 'PREPAREJSPARAM4',
          leftPos: 300,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'deaction2',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'ISNULL',
                    dstFieldName: 'edit_comment_id',
                    dstLogicParamId: 'view',
                    logicType: 'SINGLE',
                    name: 'view[edit_comment_id] 值为空(Nil)',
                    id: 'view[edit_comment_id] 值为空(nil)',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'preparejsparam4',
              id: '无存在评论id',
            },
            {
              dstDEUILogicNodeId: 'preparejsparam3',
              deuilogicLinkGroupCond: {
                groupOP: 'AND',
                deuilogicLinkConds: [
                  {
                    condOP: 'ISNOTNULL',
                    dstFieldName: 'edit_comment_id',
                    dstLogicParamId: 'view',
                    logicType: 'SINGLE',
                    name: 'view[edit_comment_id] 值不为空(NotNil)',
                    id: 'view[edit_comment_id] 值不为空(notnil)',
                  },
                ],
                logicType: 'GROUP',
              },
              srcDEUILogicNodeId: 'preparejsparam4',
              id: '存在评论id',
            },
          ],
          topPos: 540,
          name: '空，用于条件分支',
          id: 'preparejsparam4',
        },
        {
          codeName: 'PREPAREJSPARAM6',
          leftPos: 750,
          logicNodeType: 'PREPAREJSPARAM',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'preparejsparam5',
              srcDEUILogicNodeId: 'preparejsparam6',
              id: '连接名称',
            },
          ],
          deuilogicNodeParams: [
            {
              dstFieldName: 'owner_type',
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'srfowner_type',
              srcDEUILogicParamId: 'ctx',
              srcValueType: 'SRCDLPARAM',
              id: 'ctx[srfowner_type] ==> comment[owner_type]',
            },
            {
              dstFieldName: 'principal_type',
              dstDEUILogicParamId: 'comment',
              paramAction: 'SETPARAMVALUE',
              srcFieldName: 'srfowner_type',
              srcDEUILogicParamId: 'ctx',
              srcValueType: 'SRCDLPARAM',
              id: 'ctx[srfowner_type] ==> comment[principal_type]',
            },
          ],
          topPos: 310,
          name: '为评论重新赋值参数',
          id: 'preparejsparam6',
        },
        {
          code: "uiLogic.view.layoutPanel.panelItems.field_textbox.value = '';\r\nuiLogic.view.layoutPanel.panelItems.field_textbox.data.field_textbox = '';\r\nuiLogic.view.edit_comment_id = null;\r\nuiLogic.view.reply_comment_id = null;\r\nuiLogic.editor.reply.value = null;\r\nuiLogic.editor.toggleCollapse(false)\r\n",
          codeName: 'RAWJSCODE2',
          leftPos: 436,
          logicNodeType: 'RAWJSCODE',
          deuilogicLinks: [
            {
              dstDEUILogicNodeId: 'end1',
              srcDEUILogicNodeId: 'rawjscode2',
              id: '连接名称',
            },
          ],
          topPos: 970,
          name: '清空评论框与评论id',
          id: 'rawjscode2',
        },
      ],
      deuilogicParams: [
        {
          codeName: 'Default',
          default: true,
          entityParam: true,
          name: '传入变量',
          id: 'default',
        },
        {
          codeName: 'view',
          activeViewParam: true,
          name: '当前视图对象',
          id: 'view',
        },
        {
          codeName: 'ctx',
          navContextParam: true,
          name: '应用上下文变量',
          id: 'ctx',
        },
        {
          codeName: 'comment',
          entityParam: true,
          name: '评论对象',
          id: 'comment',
        },
        {
          codeName: 'editor',
          entityParam: true,
          name: '编辑器',
          id: 'editor',
        },
      ],
      startDEUILogicNodeId: 'begin',
      name: '发送评论',
      id: 'send_comment',
    },
  ],
  deopprivs: [
    {
      logicName: '建立',
      name: 'CREATE',
      id: 'create',
    },
    {
      logicName: '删除',
      name: 'DELETE',
      id: 'delete',
    },
    {
      logicName: '读取',
      name: 'READ',
      id: 'read',
    },
    {
      logicName: '更新',
      name: 'UPDATE',
      id: 'update',
    },
  ],
  codeName: 'comment',
  deapicodeName: 'comment',
  deapicodeName2: 'comments',
  deapitag: 'COMMENT',
  dataAccCtrlArch: 1,
  dataAccCtrlMode: 1,
  enableUIActions: 15,
  keyAppDEFieldId: 'id',
  lnlanguageRes: {
    lanResTag: 'DE.LNAME.COMMENT',
  },
  logicName: '评论',
  majorAppDEFieldId: 'name',
  quickSearchAppDEFieldIds: ['name'],
  sysAPITag: 'api',
  defaultMode: true,
  enableFilterActions: true,
  major: true,
  name: 'COMMENT',
  id: 'web.comment',
  codeName2: 'comments',
  requestPaths: [],
};
